package smsapi.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.UUID;

/**
 * 消息响应
 */
public class SendResponseSync {
  @JsonProperty("Result")
  private Boolean result = null;

  @JsonProperty("BatchId")
  private UUID batchId = null;

  @JsonProperty("Error")
  private String error = null;

   /**
   * 是否成功
   * @return result
  **/
  public Boolean isResult() {
    return result;
  }

  public void setResult(Boolean result) {
    this.result = result;
  }

   /**
   * 返回本次处理生成的唯一标识
   * @return batchId
  **/
   public UUID getBatchId() {
    return batchId;
  }

  public void setBatchId(UUID batchId) {
    this.batchId = batchId;
  }

  public SendResponseSync error(String error) {
    this.error = error;
    return this;
  }

   /**
   * 描述信息
   * @return error
  **/
  public String getError() {
    return error;
  }

  public void setError(String error) {
    this.error = error;
  }


}

